package org.mwielocha.jxcube.ut;

import java.awt.Color;

import org.eclipse.swt.graphics.Device;

public class ColorUtil {
  
  public static org.eclipse.swt.graphics.Color toSWTColor(Device device, Color awtColor) {
    
    return new org.eclipse.swt.graphics.Color(device, awtColor.getRed(), awtColor.getGreen(), awtColor.getBlue());
    
  }

}
